#ifndef __TREE_H__
#define __TREE_H__


typedef struct t_node
{
    int data;
    struct t_node *left;
    struct t_node *right;
}T_node;

typedef struct tree
{
    T_node * root;
}Tree;


extern void preorder(T_node* node);
extern void inorder(T_node* node);
extern void postorder(T_node* node);
extern void levelorder(T_node* node);
extern int get_maxmum(T_node* node);
extern void tree_test(void);
extern void bstree_test(void);

#endif /* __TREE_H__ */